<?php
/**
 * Created by PhpStorm.
 * User: Simpson
 * Date: 2016/10/23
 * Time: 11:19
 */

namespace App\Repository;


use App\Model\Schedule;
class ScheduleRepository
{

    /**
     * 获取所有时间段
     *
     */
    public function getSchedule()
    {
        return Schedule::all();
    }
}